package com.kymatrix.kycarbon.xsmd.kbpm.server.model.enums;


import com.kymatrix.kycarbon.xsmd.common.business.common.BaseBusinessEnum;

/**
 * 流程定义状态
 */
public enum ProcessDefineStateEnum implements BaseBusinessEnum {
    DISABLE("0","禁用"),
    ENABLE("1", "启用"),
    ;
    private final String code;

    private final String message;


    ProcessDefineStateEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getSysConfigGroupName() {
        return SysConfigGroupName.WF_PROCESS_DEFINE_STATE;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return message;
    }
}
